package com.itheima.common;
import com.itheima.singleinstance.A;
public class SingleDemo {
    public static void main(String[] args) {
        A a = A.getInstance();
        A b = A.getInstance();
        System.out.println(a == b);
    }
}
